#ifndef QANIMIMPL_H
#define QANIMIMPL_H
//
#include <QDialog>
#include <QtGui>
#include <QString>
#include <QRect>
#include "ui_qanim.h"
//
class QanimImpl : public QDialog, public Ui::Qanim
{
Q_OBJECT
public:
	QanimImpl( QWidget * parent = 0, Qt::WFlags f = 0 );
	
public slots:
	void start_stop();
	
private slots:    
    void showTime();
        
private:
	void adjustWindow();
	QRect rect;
	qreal opac;
	QTimer *timer;
    QTime *time;
    bool running;
    int height;
    int freq;
    int screenWidth; 
	int screenHeight;
};
#endif




